import { Prop, Schema, SchemaFactory } from '@nestjs/mongoose';
import { Document } from 'mongoose';

@Schema()
export class UserInfo extends Document {
  @Prop()
  account: string;

  @Prop()
  password: string;

  @Prop()
  time: string;

  @Prop()
  name: string;

  @Prop()
  id: string;
  
  @Prop()
  role:string;
  @Prop()
  AppId:string;
}
